package com.bw.lib_http

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import retrofit2.Retrofit
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
object HiltFactory {
    @Provides
    @Singleton
    fun retrofit():Retrofit = OkHttpClientManager.retrofitInstance
}